
set(SE_CMAKE_VERSION 3.10)

set(SE_ROOT_DIR				${CMAKE_CURRENT_SOURCE_DIR})
set(SE_ENGINE_ROOT_DIR		${SE_ROOT_DIR}/StudyEngine)
set(SE_ENGINE_SOURCE_DIR	${SE_ENGINE_ROOT_DIR}/src)
set(SE_ENGINE_VENDOR_DIR	${SE_ENGINE_ROOT_DIR}/vendor)
set(SE_SANDBOXAPP_DIR		${SE_ROOT_DIR}/SandboxApp)

cmake_minimum_required(VERSION ${SE_CMAKE_VERSION})

project(StudyEngine VERSION 0.0.1)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_definitions(-DSE_DEBUG)
add_definitions(-DSE_PLATFORM_WINDOWS)
add_definitions(-DSE_PROFILE)

add_subdirectory(${SE_ENGINE_ROOT_DIR})
add_subdirectory(${SE_SANDBOXAPP_DIR})
